import { Get, Post } from "@/api/request";
//下架文档
export function deleteFile(params) {
  return Post("/fileLog/fileOff", params);
}
//获取文档列表
export function getFileData() {
  return Get("/fileLog/fileList");
}
//获取某一文档的浏览记录
export function getFileBrowseList(params) {
  return Get("/fileLog/fileBrowseList", params);
}
//获取某一文档的下载记录
export function getFileDownloadList(params) {
  return Get("/fileLog/fileDownloadList", params);
}
//查找文档
export function searchFileData(params) {
  return Get("/fileLog/fileSearch", params);
}
//查找某一文档的下载记录
export function searchDownloadData(params) {
  return Get("/fileLog/fileDownloadSearch", params);
}
//查找某一文档的浏览记录
export function searchBrowseData(params) {
  return Get("/fileLog/fileBrowseSearch", params);
}
